<!DOCTYPE html>
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
  <meta name="description" content="tong.li&#39;s blog">
  <meta name="keyword" content="彤哥哥博客，95后技术爱好者,现就职于同程旅行/同程艺龙上海分公司，专注于互联网技术分享的平台。">
  
    <link rel="shortcut icon" href="/css/images/icon.png">
  
  <title>
    
      视频下载神器之you-get | 彤哥哥的博客
    
  </title>
  <link href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  <link href="https://cdn.staticfile.org/nprogress/0.2.0/nprogress.min.css" rel="stylesheet">
  <link href="https://cdn.staticfile.org/highlight.js/9.12.0/styles/tomorrow-night.min.css" rel="stylesheet">
  
<link rel="stylesheet" href="/css/style.css">

  
  <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdn.staticfile.org/geopattern/1.2.3/js/geopattern.min.js"></script>
  <script src="https://cdn.staticfile.org/nprogress/0.2.0/nprogress.min.js"></script>
  
    
<script src="/js/qrious.js"></script>

  
  
  
  
    <!-- MathJax support START -->
    <script type="text/x-mathjax-config">
      MathJax.Hub.Config({
        tex2jax: {
          inlineMath: [ ['$','$'], ["\\(","\\)"]  ],
          processEscapes: true,
          skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
        }
      });
    </script>

    <script type="text/x-mathjax-config">
      MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for (i=0; i < all.length; i += 1) {
          all[i].SourceElement().parentNode.className += ' has-jax';
        }
      });
    </script>
    <script type="text/javascript" src="https://cdn.staticfile.org/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
    <!-- MathJax support END -->
  


  
  
    
<script src="/js/local-search.js"></script>


<meta name="generator" content="Hexo 5.4.2"></head>
<div class="wechat-share">
  <img src="/css/images/logo.png" />
</div>
  <body>
    <header class="header fixed-header">
  <div class="header-container">
    <a class="home-link" href="/">
      <div class="logo"></div>
      <span>彤哥哥的博客</span>
    </a>
    <ul class="right-list">
      
        <li class="list-item">
          
            <a href="/" class="item-link">主页</a>
          
        </li>
      
        <li class="list-item">
          
            <a href="/series/" class="item-link">分类</a>
          
        </li>
      
        <li class="list-item">
          
            <a href="/tags/" class="item-link">标签</a>
          
        </li>
      
        <li class="list-item">
          
            <a href="/archives/" class="item-link">归档</a>
          
        </li>
      
        <li class="list-item">
          
            <a href="/project/" class="item-link">项目</a>
          
        </li>
      
        <li class="list-item">
          
            <a href="/about/" class="item-link">关于</a>
          
        </li>
      
      
        <li class="menu-item menu-item-search right-list">
    <a role="button" class="popup-trigger">
        <i class="fa fa-search fa-fw"></i>
    </a>
</li>
      
    </ul>
    <div class="menu">
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </div>
    <div class="menu-mask">
      <ul class="menu-list">
        
          <li class="menu-item">
            
              <a href="/" class="menu-link">主页</a>
            
          </li>
        
          <li class="menu-item">
            
              <a href="/series/" class="menu-link">分类</a>
            
          </li>
        
          <li class="menu-item">
            
              <a href="/tags/" class="menu-link">标签</a>
            
          </li>
        
          <li class="menu-item">
            
              <a href="/archives/" class="menu-link">归档</a>
            
          </li>
        
          <li class="menu-item">
            
              <a href="/project/" class="menu-link">项目</a>
            
          </li>
        
          <li class="menu-item">
            
              <a href="/about/" class="menu-link">关于</a>
            
          </li>
        
      </ul>
    </div>
    
      <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
            <span class="search-icon">
                <i class="fa fa-search"></i>
            </span>
            <div class="search-input-container">
                <input autocomplete="off" autocapitalize="off"
                    placeholder="Please enter your keyword(s) to search." spellcheck="false"
                    type="search" class="search-input">
            </div>
            <span class="popup-btn-close">
                <i class="fa fa-times-circle"></i>
            </span>
        </div>
        <div id="search-result">
            <div id="no-result">
                <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
            </div>
        </div>
    </div>
</div>
    
  </div>
</header>

    <div id="article-banner">
  <h2>视频下载神器之you-get</h2>
  <p class="post-date">2019-03-27</p>
  <div class="arrow-down">
    <a href="javascript:;"></a>
  </div>
</div>
<main class="app-body flex-box">
  <!-- Article START -->
  <article class="post-article">
    <section class="markdown-content"><p>  我们日常上网过程中，需要将网页中的视频资源提取下载出来，一般如果网站没有屏蔽视频地址且用的是非Flash播放器(现流行HTML5播放器),我们可以在视频播放器右键直接下载视频资源，但是国内网站运营商为了保护版权，会将真正的资源地址屏蔽起来，我们无法找到真实地址并进行下载。因此出现了好多第三方的应用来帮助我们提取网页中的视频，常见的提取软件有Chrome插件Video download helper和Video Downloader GetThemAll、国内以前很著名的硕鼠和维棠视频下载(这两个LZ之前经常用，硕鼠经常用于下载51CTO的教学视频，维棠经常用于电视剧批量下载)。</p>
<p>今天我给大家带来一款视频下载神器you-get，<a target="_blank" rel="noopener" href="https://you-get.org/">you-get</a> 乃一小小哒命令行程序，提供便利的方式来下载网络上的媒体信息。好了，话不多说，接下来让我们开始体验一下吧。</p>
<h2 id="为什么你要好好的用"><a href="#为什么你要好好的用" class="headerlink" title="为什么你要好好的用"></a>为什么你要好好的用</h2><ul>
<li>你欢喜于互联网上的富媒体内容，并为个人寻欢而储存</li>
<li>你喜悦观看的视频，然而不得保存；对个人设备无从控制，此乃违背开放互联网之行为</li>
<li>你寻求解脱于闭源软件或JavaScript代码，并禁止Flash运行</li>
<li>你为黑客精神与自由软件而欣喜</li>
</ul>
<h2 id="功能特性"><a href="#功能特性" class="headerlink" title="功能特性"></a>功能特性</h2><ul>
<li>下载流行网站之音视频，例如YouTube, Youku, Niconico,以及更多. (查看<a target="_blank" rel="noopener" href="https://github.com/soimort/you-get/wiki/%E4%B8%AD%E6%96%87%E8%AF%B4%E6%98%8E#supported-sites">完整支持列表</a>)</li>
<li>于您心仪的媒体播放器中观看在线视频，脱离浏览器与广告</li>
<li>下载您喜欢的网页上的图片</li>
<li>下载任何非HTML内容，例如二进制文件</li>
</ul>
<h2 id="安装方式"><a href="#安装方式" class="headerlink" title="安装方式"></a>安装方式</h2><h3 id="Mac安装"><a href="#Mac安装" class="headerlink" title="Mac安装"></a>Mac安装</h3><ol>
<li><p>在Mac上安装<a target="_blank" rel="noopener" href="https://brew.sh/">Homebrew</a>，Homebrew是一款Mac OS平台下的软件包管理工具，拥有安装、卸载、更新、查看、搜索等很多实用的功能，功能类似于Linux平台上的apt-get或yum操作。进入Mac终端输入一下命令即可安装Homebrew;</p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">/usr/bin/ruby -e <span class="string">&quot;<span class="subst">$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)</span>&quot;</span></span><br></pre></td></tr></table></figure></li>
<li><p>安装完成Homebrew后，我们来安装you-get工具，输入一下命令即可安装完成;</p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">Yeamin:Hexo mac$ brew install you-get</span><br></pre></td></tr></table></figure></li>
<li><p>安装完成后，我们检查版本来确认是否安装成功。</p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">Yeamin:Hexo mac$ you-get -V</span><br><span class="line">you-get: version 0.4.1205, a tiny downloader that scrapes the web.</span><br></pre></td></tr></table></figure></li>
</ol>
<h3 id="Linux安装"><a href="#Linux安装" class="headerlink" title="Linux安装"></a>Linux安装</h3><ol>
<li><p>安装Python3；</p>
</li>
<li><p>使用pip来安装</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ pip3 install you-get</span><br></pre></td></tr></table></figure></li>
</ol>
<h3 id="Windows安装"><a href="#Windows安装" class="headerlink" title="Windows安装"></a>Windows安装</h3><ol>
<li>下载<a target="_blank" rel="noopener" href="https://github.com/soimort/you-get/releases/latest">Windows预装包</a>即可；</li>
<li>安装并执行可运行程序。</li>
</ol>
<h3 id="Git安装"><a href="#Git安装" class="headerlink" title="Git安装"></a>Git安装</h3><p>即使您不常使用Python，作为开发者，也请使用此方法。</p>
<ol>
<li><p>下载安装资源，如下命令;</p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ git <span class="built_in">clone</span> git://github.com/soimort/you-get.git</span><br></pre></td></tr></table></figure></li>
<li><p>将目录加入 <code>PATH</code>, 或运行 <code>make install</code> 以安装<code>you-get</code>于永久路径。</p>
</li>
</ol>
<h2 id="使用体验"><a href="#使用体验" class="headerlink" title="使用体验"></a>使用体验</h2><p>以最近热播的电视剧《都挺好》为例，操作如下：</p>
<h3 id="查询视频信息"><a href="#查询视频信息" class="headerlink" title="查询视频信息"></a>查询视频信息</h3><p>可以使用 <code>--info</code>/<code>-i</code> 以查看所有可用画质与格式</p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">you-get -i <span class="string">&#x27;https://v.youku.com/v_show/id_XNDA3OTMzMTE4MA==.html?spm=a2h1n.8261147.reload_1.1~3~A&amp;s=4e4e42efbfbdefbfbd62&#x27;</span></span><br></pre></td></tr></table></figure>

<p>执行上述命令后，观察执行结果我们可以观察出电视剧《都挺好》第1集的片源来自优酷，画质有超清、高清、渣清、标清，视频格式都为mp4，视频文件大小以及相关地址链接。</p>
<p><img src="https://ltyeamin.github.io/imgs/2020/07/20200731172842.png" alt="视频信息查询"></p>
<h3 id="下载视频"><a href="#下载视频" class="headerlink" title="下载视频"></a>下载视频</h3><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">you-get <span class="string">&#x27;https://v.youku.com/v_show/id_XNDA3OTMzMTE4MA==.html?spm=a2h1n.8261147.reload_1.1~3~A&amp;s=4e4e42efbfbdefbfbd62&#x27;</span></span><br></pre></td></tr></table></figure>

<p>输入上述命令后，即可开始下载，默认画质为超清画质，视频会分段下载，下载完成之后，you-get自动调用ffmpeg将多段视频进行合并操作。</p>
<p><img src="https://ltyeamin.github.io/imgs/2020/07/20200731172852.png" alt="开始下载"></p>
<h3 id="加载Cookies"><a href="#加载Cookies" class="headerlink" title="加载Cookies"></a>加载Cookies</h3><p>在这个下载的过程中，我们发现一个问题，比如下载下来的视频大小与显示的大小不符合，我们下下来只有80M左右，视频时间为10分钟左右。</p>
<p>为什么会这样呢？LZ查好好阅读了一下WIKI，原因是网站视频只公开一部分视频片段，并非所有视频可供任何人观看。如果需要登录以观看 (例如, 私密视频), 可能必须将浏览器cookie通过<code>--cookies</code>/<code>-c</code> 加载入 <code>you-get</code>。需要我们登录的Cookies信息，我们登录后将打开F12查看Cookie信息，一查看，一大堆Cookie，怎么整，于是LZ又找到一个<a target="_blank" rel="noopener" href="https://ltyeamin.github.io/plugins/2020/07/www.cnplugins.com_njabckikapfpffapmjgojcnbfjonfjfg_1_8_5_0_.crx">Chrome浏览器的插件</a>，自动生成Cookies，如图，可以将红色区域拷贝到Cookies.txt中，然后继续执行下载操作。</p>
<p><img src="https://ltyeamin.github.io/imgs/2020/07/20200731172904.png" alt="Cookies信息获取"></p>
<p>注意:</p>
<ul>
<li>目前我们支持两种cookie格式：Mozilla <code>cookies.sqlite</code> 和 Netscape <code>cookies.txt</code>.</li>
</ul>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">you-get -c Cookies.txt https://v.youku.com/v_show/id_XNDA3OTMzMTE4MA==.html</span><br></pre></td></tr></table></figure>

<p><img src="https://ltyeamin.github.io/imgs/2020/07/20200731173145.png" alt="Cookies下载"></p>
<h3 id="本地播放器播放"><a href="#本地播放器播放" class="headerlink" title="本地播放器播放"></a>本地播放器播放</h3><p>如果你只是在用自己本地播放器进行观看的话使用而不是下载的话，则可以 <code>--player</code>/<code>-p</code> 将视频喂进播放器, 例如 <code>mplayer</code>或者 <code>vlc</code>。</p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ you-get -p vlc <span class="string">&#x27;https://www.youtube.com/watch?v=jNQXAC9IVRw&#x27;</span></span><br></pre></td></tr></table></figure>

<p>或者你想在浏览器中观看而不希望看广告或评论区:</p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ you-get -p chromium <span class="string">&#x27;https://www.youtube.com/watch?v=jNQXAC9IVRw&#x27;</span></span><br></pre></td></tr></table></figure>

<h2 id="支持主流网站列表"><a href="#支持主流网站列表" class="headerlink" title="支持主流网站列表"></a>支持主流网站列表</h2><table>
<thead>
<tr>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody><tr>
<td>网站</td>
<td>URL</td>
<td>视频?</td>
<td>图像?</td>
<td>音频?</td>
</tr>
<tr>
<td><strong>YouTube</strong></td>
<td><a target="_blank" rel="noopener" href="https://www.youtube.com/">https://www.youtube.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td><strong>Twitter</strong></td>
<td><a target="_blank" rel="noopener" href="https://twitter.com/">https://twitter.com/</a></td>
<td>✓</td>
<td>✓</td>
<td></td>
</tr>
<tr>
<td>VK</td>
<td><a target="_blank" rel="noopener" href="http://vk.com/">http://vk.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Vine</td>
<td><a target="_blank" rel="noopener" href="https://vine.co/">https://vine.co/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Vimeo</td>
<td><a target="_blank" rel="noopener" href="https://vimeo.com/">https://vimeo.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Vidto</td>
<td><a target="_blank" rel="noopener" href="http://vidto.me/">http://vidto.me/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Veoh</td>
<td><a target="_blank" rel="noopener" href="http://www.veoh.com/">http://www.veoh.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td><strong>Tumblr</strong></td>
<td><a target="_blank" rel="noopener" href="https://www.tumblr.com/">https://www.tumblr.com/</a></td>
<td>✓</td>
<td>✓</td>
<td>✓</td>
</tr>
<tr>
<td>TED</td>
<td><a target="_blank" rel="noopener" href="http://www.ted.com/">http://www.ted.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>SoundCloud</td>
<td><a target="_blank" rel="noopener" href="https://soundcloud.com/">https://soundcloud.com/</a></td>
<td></td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td>Pinterest</td>
<td><a target="_blank" rel="noopener" href="https://www.pinterest.com/">https://www.pinterest.com/</a></td>
<td></td>
<td>✓</td>
<td></td>
</tr>
<tr>
<td>MusicPlayOn</td>
<td><a target="_blank" rel="noopener" href="http://en.musicplayon.com/">http://en.musicplayon.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>MTV81</td>
<td><a target="_blank" rel="noopener" href="http://www.mtv81.com/">http://www.mtv81.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Mixcloud</td>
<td><a target="_blank" rel="noopener" href="https://www.mixcloud.com/">https://www.mixcloud.com/</a></td>
<td></td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td>Metacafe</td>
<td><a target="_blank" rel="noopener" href="http://www.metacafe.com/">http://www.metacafe.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Magisto</td>
<td><a target="_blank" rel="noopener" href="http://www.magisto.com/">http://www.magisto.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Khan Academy</td>
<td><a target="_blank" rel="noopener" href="https://www.khanacademy.org/">https://www.khanacademy.org/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>JPopsuki TV</td>
<td><a target="_blank" rel="noopener" href="http://www.jpopsuki.tv/">http://www.jpopsuki.tv/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Internet Archive</td>
<td><a target="_blank" rel="noopener" href="https://archive.org/">https://archive.org/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td><strong>Instagram</strong></td>
<td><a target="_blank" rel="noopener" href="https://instagram.com/">https://instagram.com/</a></td>
<td>✓</td>
<td>✓</td>
<td></td>
</tr>
<tr>
<td>Heavy Music Archive</td>
<td><a target="_blank" rel="noopener" href="http://www.heavy-music.ru/">http://www.heavy-music.ru/</a></td>
<td></td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td><strong>Google+</strong></td>
<td><a target="_blank" rel="noopener" href="https://plus.google.com/">https://plus.google.com/</a></td>
<td>✓</td>
<td>✓</td>
<td></td>
</tr>
<tr>
<td>Freesound</td>
<td><a target="_blank" rel="noopener" href="http://www.freesound.org/">http://www.freesound.org/</a></td>
<td></td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td>Flickr</td>
<td><a target="_blank" rel="noopener" href="https://www.flickr.com/">https://www.flickr.com/</a></td>
<td>✓</td>
<td>✓</td>
<td></td>
</tr>
<tr>
<td>Facebook</td>
<td><a target="_blank" rel="noopener" href="https://www.facebook.com/">https://www.facebook.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>eHow</td>
<td><a target="_blank" rel="noopener" href="http://www.ehow.com/">http://www.ehow.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Dailymotion</td>
<td><a target="_blank" rel="noopener" href="http://www.dailymotion.com/">http://www.dailymotion.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>CBS</td>
<td><a target="_blank" rel="noopener" href="http://www.cbs.com/">http://www.cbs.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Bandcamp</td>
<td><a target="_blank" rel="noopener" href="http://bandcamp.com/">http://bandcamp.com/</a></td>
<td></td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td>AliveThai</td>
<td><a target="_blank" rel="noopener" href="http://alive.in.th/">http://alive.in.th/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>interest.me</td>
<td><a target="_blank" rel="noopener" href="http://ch.interest.me/tvn">http://ch.interest.me/tvn</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td><strong>755ナナゴーゴー</strong></td>
<td><a target="_blank" rel="noopener" href="http://7gogo.jp/">http://7gogo.jp/</a></td>
<td>✓</td>
<td>✓</td>
<td></td>
</tr>
<tr>
<td><strong>niconicoニコニコ動画</strong></td>
<td><a target="_blank" rel="noopener" href="http://www.nicovideo.jp/">http://www.nicovideo.jp/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td><strong>163网易视频网易云音乐</strong></td>
<td><a target="_blank" rel="noopener" href="http://v.163.com/">http://v.163.com/</a> <a target="_blank" rel="noopener" href="http://music.163.com/">http://music.163.com/</a></td>
<td>✓</td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td>56网</td>
<td><a target="_blank" rel="noopener" href="http://www.56.com/">http://www.56.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td><strong>AcFun</strong></td>
<td><a target="_blank" rel="noopener" href="http://www.acfun.tv/">http://www.acfun.tv/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td><strong>Baidu百度贴吧</strong></td>
<td><a target="_blank" rel="noopener" href="http://tieba.baidu.com/">http://tieba.baidu.com/</a></td>
<td>✓</td>
<td>✓</td>
<td></td>
</tr>
<tr>
<td>爆米花网</td>
<td><a target="_blank" rel="noopener" href="http://www.baomihua.com/">http://www.baomihua.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td><strong>bilibili哔哩哔哩</strong></td>
<td><a target="_blank" rel="noopener" href="http://www.bilibili.com/">http://www.bilibili.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Dilidili</td>
<td><a target="_blank" rel="noopener" href="http://www.dilidili.com/">http://www.dilidili.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>豆瓣</td>
<td><a target="_blank" rel="noopener" href="http://www.douban.com/">http://www.douban.com/</a></td>
<td></td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td>斗鱼</td>
<td><a target="_blank" rel="noopener" href="http://www.douyutv.com/">http://www.douyutv.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>凤凰视频</td>
<td><a target="_blank" rel="noopener" href="http://v.ifeng.com/">http://v.ifeng.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>风行网</td>
<td><a target="_blank" rel="noopener" href="http://www.fun.tv/">http://www.fun.tv/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>iQIYI 爱奇艺</td>
<td><a target="_blank" rel="noopener" href="http://www.iqiyi.com/">http://www.iqiyi.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>激动网</td>
<td><a target="_blank" rel="noopener" href="http://www.joy.cn/">http://www.joy.cn/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>酷6网</td>
<td><a target="_blank" rel="noopener" href="http://www.ku6.com/">http://www.ku6.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>酷狗音乐</td>
<td><a target="_blank" rel="noopener" href="http://www.kugou.com/">http://www.kugou.com/</a></td>
<td></td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td>酷我音乐</td>
<td><a target="_blank" rel="noopener" href="http://www.kuwo.cn/">http://www.kuwo.cn/</a></td>
<td></td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td>乐视网</td>
<td><a target="_blank" rel="noopener" href="http://www.letv.com/">http://www.letv.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>荔枝FM</td>
<td><a target="_blank" rel="noopener" href="http://www.lizhi.fm/">http://www.lizhi.fm/</a></td>
<td></td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td>秒拍</td>
<td><a target="_blank" rel="noopener" href="http://www.miaopai.com/">http://www.miaopai.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>MioMio弹幕网</td>
<td><a target="_blank" rel="noopener" href="http://www.miomio.tv/">http://www.miomio.tv/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>痞客邦</td>
<td><a target="_blank" rel="noopener" href="https://www.pixnet.net/">https://www.pixnet.net/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>PPTV聚力</td>
<td><a target="_blank" rel="noopener" href="http://www.pptv.com/">http://www.pptv.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>齐鲁网</td>
<td><a target="_blank" rel="noopener" href="http://v.iqilu.com/">http://v.iqilu.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>QQ 腾讯视频</td>
<td><a target="_blank" rel="noopener" href="http://v.qq.com/">http://v.qq.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>阡陌视频</td>
<td><a target="_blank" rel="noopener" href="http://qianmo.com/">http://qianmo.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Sina 新浪视频 微博秒拍视频</td>
<td><a target="_blank" rel="noopener" href="http://video.sina.com.cn/">http://video.sina.com.cn/</a> <a target="_blank" rel="noopener" href="http://video.weibo.com/">http://video.weibo.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Sohu 搜狐视频</td>
<td><a target="_blank" rel="noopener" href="http://tv.sohu.com/">http://tv.sohu.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>天天动听</td>
<td><a target="_blank" rel="noopener" href="http://www.dongting.com/">http://www.dongting.com/</a></td>
<td></td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td><strong>Tudou土豆</strong></td>
<td><a target="_blank" rel="noopener" href="http://www.tudou.com/">http://www.tudou.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>虾米</td>
<td><a target="_blank" rel="noopener" href="http://www.xiami.com/">http://www.xiami.com/</a></td>
<td></td>
<td></td>
<td>✓</td>
</tr>
<tr>
<td>阳光卫视</td>
<td><a target="_blank" rel="noopener" href="http://www.isuntv.com/">http://www.isuntv.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td><strong>音悦Tai</strong></td>
<td><a target="_blank" rel="noopener" href="http://www.yinyuetai.com/">http://www.yinyuetai.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td><strong>Youku优酷</strong></td>
<td><a target="_blank" rel="noopener" href="http://www.youku.com/">http://www.youku.com/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>战旗TV</td>
<td><a target="_blank" rel="noopener" href="http://www.zhanqi.tv/lives">http://www.zhanqi.tv/lives</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
<tr>
<td>央视网</td>
<td><a target="_blank" rel="noopener" href="http://www.cntv.cn/">http://www.cntv.cn/</a></td>
<td>✓</td>
<td></td>
<td></td>
</tr>
</tbody></table>
<h2 id="其他类似工具"><a href="#其他类似工具" class="headerlink" title="其他类似工具"></a>其他类似工具</h2><ul>
<li>youtube-dl：<a target="_blank" rel="noopener" href="https://github.com/rg3/youtube-dl">youtube-dl</a>功能和you-get类似。</li>
<li>Video Download Manager：可视化工具，相当于youtube-dl+you-get。</li>
<li>ykdl：专注于优酷视频。</li>
<li>annie：专注于在线视频下载的轻量级命令行工具</li>
<li>维棠:<a target="_blank" rel="noopener" href="http://www.vidown.cn/">维棠</a>最专业flv视频下载软件</li>
<li>硕鼠：<a target="_blank" rel="noopener" href="http://www.flvcd.com/">硕鼠</a>最稳定的FLV视频下载平台</li>
</ul>
<h2 id="无水印预览"><a href="#无水印预览" class="headerlink" title="无水印预览"></a>无水印预览</h2><p><img src="https://ltyeamin.github.io/imgs/2020/07/20200731172929.png" alt="预览1"></p>
<p><img src="https://ltyeamin.github.io/imgs/2020/07/20200731172936.png" alt="预览2"></p>
<h2 id="参考资料"><a href="#参考资料" class="headerlink" title="参考资料"></a>参考资料</h2><p><a target="_blank" rel="noopener" href="https://github.com/soimort/you-get/wiki/%E4%B8%AD%E6%96%87%E8%AF%B4%E6%98%8E#supported-sites">you-get中文文档</a></p>
<p><a target="_blank" rel="noopener" href="https://github.com/soimort">you-get源码</a></p>
</section>
    <!-- Tags START -->
    
      <div class="tags">
        <span>Tags:</span>
        
  <a href="/tags#实用工具及技巧" >
    <span class="tag-code">实用工具及技巧</span>
  </a>

      </div>
    
    <!-- Tags END -->
    <!-- NAV START -->
    
  <div class="nav-container">
    <!-- reverse left and right to put prev and next in a more logic postition -->
    
      <a class="nav-left" href="/2019/01/05/GC%E8%B0%83%E4%BC%98%E5%9F%BA%E7%A1%80%E4%B9%8B%E5%A0%86%E5%A4%A7%E5%B0%8F/">
        <span class="nav-arrow">← </span>
        
          GC调优基础之堆大小
        
      </a>
    
    
      <a class="nav-right" href="/2019/03/28/%E8%B0%88%E8%B0%88%E5%9B%BD%E5%86%85%E5%A4%A7%E7%8E%AF%E5%A2%83%E4%B8%8B%E7%9A%84996%E5%8A%A0%E7%8F%AD%E6%96%87%E5%8C%96/">
        
          谈谈国内大环境下的996加班文化
        
        <span class="nav-arrow"> →</span>
      </a>
    
  </div>

    <!-- NAV END -->
    <!-- 打赏 START -->
    
      <div class="money-like">
        <div class="reward-btn">
          赏
          <span class="money-code">
            <span class="alipay-code">
              <div class="code-image"></div>
              <b>使用支付宝打赏</b>
            </span>
            <span class="wechat-code">
              <div class="code-image"></div>
              <b>使用微信打赏</b>
            </span>
          </span>
        </div>
        <p class="notice">若你觉得我的文章对你有帮助，欢迎点击上方按钮对我打赏</p>
      </div>
    
    <!-- 打赏 END -->
    <!-- 二维码 START -->
    
      <div class="qrcode">
        <canvas id="share-qrcode"></canvas>
        <p class="notice">扫描二维码，分享此文章</p>
      </div>
    
    <!-- 二维码 END -->
    
      <!-- Utterances START -->
      <div id="utterances"></div>
      <script src="https://utteranc.es/client.js"
        repo="ltyeamin/blogtalks"
        issue-term="pathname"
        theme="github-light"
        crossorigin="anonymous"
        async></script>    
      <!-- Utterances END -->
    
  </article>
  <!-- Article END -->
  <!-- Catalog START -->
  
    <aside class="catalog-container">
  <div class="toc-main">
    <strong class="toc-title">Catalog</strong>
    
      <ol class="toc-nav"><li class="toc-nav-item toc-nav-level-2"><a class="toc-nav-link" href="#%E4%B8%BA%E4%BB%80%E4%B9%88%E4%BD%A0%E8%A6%81%E5%A5%BD%E5%A5%BD%E7%9A%84%E7%94%A8"><span class="toc-nav-text">为什么你要好好的用</span></a></li><li class="toc-nav-item toc-nav-level-2"><a class="toc-nav-link" href="#%E5%8A%9F%E8%83%BD%E7%89%B9%E6%80%A7"><span class="toc-nav-text">功能特性</span></a></li><li class="toc-nav-item toc-nav-level-2"><a class="toc-nav-link" href="#%E5%AE%89%E8%A3%85%E6%96%B9%E5%BC%8F"><span class="toc-nav-text">安装方式</span></a><ol class="toc-nav-child"><li class="toc-nav-item toc-nav-level-3"><a class="toc-nav-link" href="#Mac%E5%AE%89%E8%A3%85"><span class="toc-nav-text">Mac安装</span></a></li><li class="toc-nav-item toc-nav-level-3"><a class="toc-nav-link" href="#Linux%E5%AE%89%E8%A3%85"><span class="toc-nav-text">Linux安装</span></a></li><li class="toc-nav-item toc-nav-level-3"><a class="toc-nav-link" href="#Windows%E5%AE%89%E8%A3%85"><span class="toc-nav-text">Windows安装</span></a></li><li class="toc-nav-item toc-nav-level-3"><a class="toc-nav-link" href="#Git%E5%AE%89%E8%A3%85"><span class="toc-nav-text">Git安装</span></a></li></ol></li><li class="toc-nav-item toc-nav-level-2"><a class="toc-nav-link" href="#%E4%BD%BF%E7%94%A8%E4%BD%93%E9%AA%8C"><span class="toc-nav-text">使用体验</span></a><ol class="toc-nav-child"><li class="toc-nav-item toc-nav-level-3"><a class="toc-nav-link" href="#%E6%9F%A5%E8%AF%A2%E8%A7%86%E9%A2%91%E4%BF%A1%E6%81%AF"><span class="toc-nav-text">查询视频信息</span></a></li><li class="toc-nav-item toc-nav-level-3"><a class="toc-nav-link" href="#%E4%B8%8B%E8%BD%BD%E8%A7%86%E9%A2%91"><span class="toc-nav-text">下载视频</span></a></li><li class="toc-nav-item toc-nav-level-3"><a class="toc-nav-link" href="#%E5%8A%A0%E8%BD%BDCookies"><span class="toc-nav-text">加载Cookies</span></a></li><li class="toc-nav-item toc-nav-level-3"><a class="toc-nav-link" href="#%E6%9C%AC%E5%9C%B0%E6%92%AD%E6%94%BE%E5%99%A8%E6%92%AD%E6%94%BE"><span class="toc-nav-text">本地播放器播放</span></a></li></ol></li><li class="toc-nav-item toc-nav-level-2"><a class="toc-nav-link" href="#%E6%94%AF%E6%8C%81%E4%B8%BB%E6%B5%81%E7%BD%91%E7%AB%99%E5%88%97%E8%A1%A8"><span class="toc-nav-text">支持主流网站列表</span></a></li><li class="toc-nav-item toc-nav-level-2"><a class="toc-nav-link" href="#%E5%85%B6%E4%BB%96%E7%B1%BB%E4%BC%BC%E5%B7%A5%E5%85%B7"><span class="toc-nav-text">其他类似工具</span></a></li><li class="toc-nav-item toc-nav-level-2"><a class="toc-nav-link" href="#%E6%97%A0%E6%B0%B4%E5%8D%B0%E9%A2%84%E8%A7%88"><span class="toc-nav-text">无水印预览</span></a></li><li class="toc-nav-item toc-nav-level-2"><a class="toc-nav-link" href="#%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99"><span class="toc-nav-text">参考资料</span></a></li></ol>
    
  </div>
</aside>
  
  <!-- Catalog END -->
</main>

<script>
  (function () {
    var url = 'http://example.com/2019/03/27/视频下载神器之you-get/';
    var banner = ''
    if (banner !== '' && banner !== 'undefined' && banner !== 'null') {
      $('#article-banner').css({
        'background-image': 'url(' + banner + ')'
      })
    } else {
      $('#article-banner').geopattern(url)
    }
    $('.header').removeClass('fixed-header')

    // error image
    $(".markdown-content img").on('error', function() {
      $(this).attr('src', '/css/images/error_icon.png')
      $(this).css({
        'cursor': 'default'
      })
    })

    // zoom image
    $(".markdown-content img").on('click', function() {
      var src = $(this).attr('src')
      if (src !== '/css/images/error_icon.png') {
        var imageW = $(this).width()
        var imageH = $(this).height()

        var zoom = ($(window).width() * 0.95 / imageW).toFixed(2)
        zoom = zoom < 1 ? 1 : zoom
        zoom = zoom > 2 ? 2 : zoom
        var transY = (($(window).height() - imageH) / 2).toFixed(2)

        $('body').append('<div class="image-view-wrap"><div class="image-view-inner"><img src="'+ src +'" /></div></div>')
        $('.image-view-wrap').addClass('wrap-active')
        $('.image-view-wrap img').css({
          'width': `${imageW}`,
          'transform': `translate3d(0, ${transY}px, 0) scale3d(${zoom}, ${zoom}, 1)`
        })
        $('html').css('overflow', 'hidden')

        $('.image-view-wrap').on('click', function() {
          $(this).remove()
          $('html').attr('style', '')
        })
      }
    })
  })();
</script>


  <script>
    var qr = new QRious({
      element: document.getElementById('share-qrcode'),
      value: document.location.href
    });
  </script>






    <div class="scroll-top">
  <span class="arrow-icon"></span>
</div>
    <footer class="app-footer">
  <p class="copyright">
    &copy; 2024 | Proudly powered by <a href="https://hexo.io" target="_blank">Hexo</a>
    <br>
    Theme by <a target="_blank" rel="noopener" href="https://github.com/ltyeamin">tong.li</a>
  </p>
</footer>

<script>
  function async(u, c) {
    var d = document, t = 'script',
      o = d.createElement(t),
      s = d.getElementsByTagName(t)[0];
    o.src = u;
    if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
    s.parentNode.insertBefore(o, s);
  }
</script>
<script>
  async("https://cdn.staticfile.org/fastclick/1.0.6/fastclick.min.js", function(){
    FastClick.attach(document.body);
  })
</script>

<script>
  var hasLine = 'true';
  async("https://cdn.staticfile.org/highlight.js/9.12.0/highlight.min.js", function(){
    $('figure pre').each(function(i, block) {
      var figure = $(this).parents('figure');
      if (hasLine === 'false') {
        figure.find('.gutter').hide();
      }
      hljs.configure({useBR: true});
      var lang = figure.attr('class').split(' ')[1] || 'code';
      var codeHtml = $(this).html();
      var codeTag = document.createElement('code');
      codeTag.className = lang;
      codeTag.innerHTML = codeHtml;
      $(this).attr('class', '').empty().html(codeTag);
      figure.attr('data-lang', lang.toUpperCase());
      hljs.highlightBlock(block);
    });
  })
</script>
<!-- Baidu Tongji -->



<script src='https://cdn.staticfile.org/mermaid/8.11.2/mermaid.min.js'></script>



<script src="/js/script.js"></script>


  </body>
</html>